package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.entity.QueryPageBeanCondition;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.CheckItem;

import java.util.List;
import java.util.Map;

public interface CheckGroupDao {

	void add(CheckGroup checkGroup);

	void setCheckGroupAndCheckItem(Map map);

	Page<CheckGroup> selectByCondition(QueryPageBeanCondition queryPageBeanCondition);

//	void deleteRelationById(Integer id);
//
//	void deleteById(Integer id);

	CheckGroup findGroupById(Integer id);

	List<Integer> findItemById(Integer id);
	void edit(CheckGroup checkGroup);

	void deleteRelationById(Integer id);

	List<CheckGroup> findAll();
}
